<template>
  <div>
    <div>
      <h4>动态评估</h4>
      <el-row>
        <el-col>
          <div>
            <el-input
              type="textarea"
              resize="none"
              :rows="2"
              placeholder=""
              v-model="pgForm.dynamic2_textarea">
            </el-input>
          </div>
        </el-col>
        <el-col>
          <span>1.颈椎屈伸 </span>
          <el-select v-model="pgForm.dynamic2_value1" placeholder="请选择" style="width: 10%;">
            <el-option
              v-for="item in options"
              :key="item.value"
              :label="item.label"
              :value="item.value">
            </el-option>
          </el-select>
        </el-col>
        <el-col>
          <div class="grid-content">
            <el-checkbox-group v-model="pgForm.dynamic2_checkList1">
              <el-checkbox label="下巴碰不到胸骨"></el-checkbox>
              <el-checkbox label="用力过度和/或缺乏运动控制"></el-checkbox>
              <el-checkbox label="其他"></el-checkbox>
              <el-input v-model="pgForm.dynamic2_input1" placeholder="备注"></el-input>
            </el-checkbox-group>
          </div>
        </el-col>
      </el-row>
      <el-row>
        <el-col>
          <span>2.颈椎伸展 </span>
          <el-select v-model="pgForm.dynamic2_value2" placeholder="请选择" style="width: 10%;">
            <el-option
              v-for="item in options"
              :key="item.value"
              :label="item.label"
              :value="item.value">
            </el-option>
          </el-select>
        </el-col>
        <el-col>
          <div class="grid-content">
            <el-checkbox-group v-model="pgForm.dynamic2_checkList2">
              <el-checkbox label="与水平面夹角大于10°"></el-checkbox>
              <el-checkbox label="用力过度和/或缺乏运动控制"></el-checkbox>
              <el-checkbox label="其他"></el-checkbox>
              <el-input v-model="pgForm.dynamic2_input2" placeholder="备注"></el-input>
            </el-checkbox-group>
          </div>
        </el-col>
      </el-row>
      <el-row type="flex" justify="space-between">
        <el-col>
          <span>3.颈椎旋转 </span>
          <el-select v-model="pgForm.dynamic2_value31" placeholder="请选择" style="width: 10%;">
            <el-option
              v-for="item in options"
              :key="item.value"
              :label="item.label"
              :value="item.value">
            </el-option>
          </el-select>
        </el-col>
        <el-col :span="5">
          <div>
            <el-select v-model="pgForm.dynamic2_value32" placeholder="请选择">
              <el-option
                v-for="item in options1"
                :key="item.value"
                :label="item.label"
                :value="item.value">
              </el-option>
            </el-select>
          </div>
        </el-col>
        <el-col :span="7">
            <span>鼻子没有和锁骨中点成一条线</span>
        </el-col>
        <el-col :span="5">
          <div>
            <el-select v-model="pgForm.dynamic2_value33" placeholder="请选择">
              <el-option
                v-for="item in options1"
                :key="item.value"
                :label="item.label"
                :value="item.value">
              </el-option>
            </el-select>
          </div>
        </el-col>
        <el-col :span="7">
            <span>用力过度和/或明显不对称或缺乏运动控制</span>
        </el-col>
      </el-row>
      <el-row type="flex" justify="space-between">
        <el-col>
          <span>4.上肢模式一 </span>
          <el-select v-model="pgForm.dynamic2_value41" placeholder="请选择" style="width: 10%;">
            <el-option
              v-for="item in options"
              :key="item.value"
              :label="item.label"
              :value="item.value">
            </el-option>
          </el-select>
        </el-col>
        <el-col :span="5">
          <div>
            <el-select v-model="pgForm.dynamic2_value42" placeholder="请选择">
              <el-option
                v-for="item in options1"
                :key="item.value"
                :label="item.label"
                :value="item.value">
              </el-option>
            </el-select>
          </div>
        </el-col>
        <el-col :span="7">
          <div>
            <span>没有达到肩胛骨下角</span>
          </div>
        </el-col>
        <el-col :span="5">
          <div>
            <el-select v-model="pgForm.dynamic2_value43" placeholder="请选择">
              <el-option
                v-for="item in options1"
                :key="item.value"
                :label="item.label"
                :value="item.value">
              </el-option>
            </el-select>
          </div>
        </el-col>
        <el-col :span="7">
          <div>
            <span>用力过度和/或明显不对称或缺乏运动控制</span>
          </div>
        </el-col>
      </el-row>
      <el-row type="flex" justify="space-between">
        <el-col>
          <span>5.上肢模式二 </span>
          <el-select v-model="pgForm.dynamic2_value51" placeholder="请选择" style="width: 10%;">
            <el-option
              v-for="item in options"
              :key="item.value"
              :label="item.label"
              :value="item.value">
            </el-option>
          </el-select>
        </el-col>
        <el-col :span="5">
          <div>
            <el-select v-model="pgForm.dynamic2_value52" placeholder="请选择">
              <el-option
                v-for="item in options1"
                :key="item.value"
                :label="item.label"
                :value="item.value">
              </el-option>
            </el-select>
          </div>
        </el-col>
        <el-col :span="7">
          <div>
            <span>没有达到肩胛冈</span>
          </div>
        </el-col>
        <el-col :span="5">
          <div>
            <el-select v-model="pgForm.dynamic2_value53" placeholder="请选择">
              <el-option
                v-for="item in options1"
                :key="item.value"
                :label="item.label"
                :value="item.value">
              </el-option>
            </el-select>
          </div>
        </el-col>
        <el-col :span="7">
          <div>
            <span>用力过度和/或明显不对称或缺乏运动控制</span>
          </div>
        </el-col>
      </el-row>
      <el-row>
        <el-col>
          <span>6.多部位屈曲 </span>
          <el-select v-model="pgForm.dynamic2_value6" placeholder="请选择" style="width: 10%;">
            <el-option
              v-for="item in options"
              :key="item.value"
              :label="item.label"
              :value="item.value">
            </el-option>
          </el-select>
        </el-col>
        <el-col>
          <div class="grid-content">
            <el-checkbox-group v-model="pgForm.dynamic2_checkList3">
              <el-checkbox label="不能碰到脚尖"></el-checkbox>
              <el-checkbox label="重心没有后移"></el-checkbox>
              <el-checkbox label="骶骨角小于70°"></el-checkbox>
              <el-checkbox label="脊柱不成一条平滑曲线"></el-checkbox>
              <el-checkbox label="用力过度和/或缺乏运动控制"></el-checkbox>
              <el-checkbox label="其他"></el-checkbox>
              <el-input v-model="pgForm.dynamic2_input3" placeholder="备注"></el-input>
            </el-checkbox-group>
          </div>
        </el-col>
      </el-row>
      <el-row>
        <el-col>
          <span>7.多部位伸展 </span>
          <el-select v-model="pgForm.dynamic2_value7" placeholder="请选择" style="width: 10%;">
            <el-option
              v-for="item in options"
              :key="item.value"
              :label="item.label"
              :value="item.value">
            </el-option>
          </el-select>
        </el-col>
        <el-col>
          <div class="grid-content">
            <el-checkbox-group v-model="pgForm.dynamic2_checkList4">
              <el-checkbox label="上肢屈曲没有达到170或不能保持170°"></el-checkbox>
              <el-checkbox label="髂前上棘向前没有超过脚尖"></el-checkbox>
              <el-checkbox label="肩胛冈向后没有超过脚后跟"></el-checkbox>
              <el-checkbox label="脊柱不成一条平滑曲线"></el-checkbox>
              <el-checkbox label="用力过度和/或缺乏运动控制"></el-checkbox>
              <el-checkbox label="其他"></el-checkbox>
              <el-input v-model="pgForm.dynamic2_input4" placeholder="备注"></el-input>
            </el-checkbox-group>
          </div>
        </el-col>
      </el-row>
      <el-row type="flex" justify="space-between">
        <el-col>
          <span>8.多部位旋转 </span>
          <el-select v-model="pgForm.dynamic2_value81" placeholder="请选择" style="width: 10%;">
            <el-option
              v-for="item in options"
              :key="item.value"
              :label="item.label"
              :value="item.value">
            </el-option>
          </el-select>
        </el-col>
        <el-col :span="5">
          <div>
            <el-select v-model="pgForm.dynamic2_value82" placeholder="请选择">
              <el-option
                v-for="item in options1"
                :key="item.value"
                :label="item.label"
                :value="item.value">
              </el-option>
            </el-select>
          </div>
        </el-col>
        <el-col :span="7">
          <div>
            <span>骨盆旋转<50°</span>
          </div>
        </el-col>
        <el-col :span="5">
          <div>
            <el-select v-model="pgForm.dynamic2_value83" placeholder="请选择">
              <el-option
                v-for="item in options1"
                :key="item.value"
                :label="item.label"
                :value="item.value">
              </el-option>
            </el-select>
          </div>
        </el-col>
        <el-col :span="7">
          <div>
            <span>肩部旋转<50°</span>
          </div>
        </el-col>
        <el-col :span="5">
          <div>
            <el-select v-model="pgForm.dynamic2_value84" placeholder="请选择">
              <el-option
                v-for="item in options1"
                :key="item.value"
                :label="item.label"
                :value="item.value">
              </el-option>
            </el-select>
          </div>
        </el-col>
        <el-col :span="7">
          <div>
            <span>脊柱/骨盆侧倾</span>
          </div>
        </el-col>
        <el-col :span="5">
          <div>
            <el-select v-model="pgForm.dynamic2_value85" placeholder="请选择">
              <el-option
                v-for="item in options1"
                :key="item.value"
                :label="item.label"
                :value="item.value">
              </el-option>
            </el-select>
          </div>
        </el-col>
        <el-col :span="7">
          <div>
            <span>膝过伸</span>
          </div>
        </el-col>
        <el-col :span="5">
          <div>
            <el-select v-model="pgForm.dynamic2_value86" placeholder="请选择">
              <el-option
                v-for="item in options1"
                :key="item.value"
                :label="item.label"
                :value="item.value">
              </el-option>
            </el-select>
          </div>
        </el-col>
        <el-col :span="7">
          <div>
            <span>用力过度和/或明显不对称或缺乏运动控制</span>
          </div>
        </el-col>
        <el-col :span="5"></el-col>
        <el-col :span="7"></el-col>
      </el-row>
      <el-row type="flex" justify="space-between">
        <el-col>
          <span>9.单腿站立 </span>
          <el-select v-model="pgForm.dynamic2_value91" placeholder="请选择" style="width: 10%;">
            <el-option
              v-for="item in options"
              :key="item.value"
              :label="item.label"
              :value="item.value">
            </el-option>
          </el-select>
        </el-col>
        <el-col :span="5">
          <div>
            <el-select v-model="pgForm.dynamic2_value92" placeholder="请选择">
              <el-option
                v-for="item in options1"
                :key="item.value"
                :label="item.label"
                :value="item.value">
              </el-option>
            </el-select>
          </div>
        </el-col>
        <el-col :span="7">
          <div>
            <span>睁眼站立<10s</span>
          </div>
        </el-col>
        <el-col :span="5">
          <div>
            <el-select v-model="pgForm.dynamic2_value93" placeholder="请选择">
              <el-option
                v-for="item in options1"
                :key="item.value"
                :label="item.label"
                :value="item.value">
              </el-option>
            </el-select>
          </div>
        </el-col>
        <el-col :span="7">
          <div>
            <span>闭眼站立<10s</span>
          </div>
        </el-col>
        <el-col :span="5">
          <div>
            <el-select v-model="pgForm.dynamic2_value94" placeholder="请选择">
              <el-option
                v-for="item in options1"
                :key="item.value"
                :label="item.label"
                :value="item.value">
              </el-option>
            </el-select>
          </div>
        </el-col>
        <el-col :span="7">
          <div>
            <span>高度下降</span>
          </div>
        </el-col>
        <el-col :span="5">
          <div>
            <el-select v-model="pgForm.dynamic2_value95" placeholder="请选择">
              <el-option
                v-for="item in options1"
                :key="item.value"
                :label="item.label"
                :value="item.value">
              </el-option>
            </el-select>
          </div>
        </el-col>
        <el-col :span="7">
          <div>
            <span>用力过度和/或明显不对称或缺乏运动控制</span>
          </div>
        </el-col>
      </el-row>
      <el-row>
        <el-col>
          <span>10.高举深蹲 </span>
          <el-select v-model="pgForm.dynamic2_value10" placeholder="请选择" style="width: 10%;">
            <el-option
              v-for="item in options"
              :key="item.value"
              :label="item.label"
              :value="item.value">
            </el-option>
          </el-select>
        </el-col>
        <el-col>
          <div class="grid-content">
            <el-checkbox-group v-model="pgForm.dynamic2_checkList5">
              <el-checkbox label="上肢起始姿势不能保持"></el-checkbox>
              <el-checkbox label="胫骨和躯干没有平行或更加趋于挺直"></el-checkbox>
              <el-checkbox label="大腿没有低于水平面"></el-checkbox>
              <el-checkbox label="矢状面关节没有对位对线"></el-checkbox>
              <el-checkbox label="用力过度和/或明显不对称或缺乏运动控制"></el-checkbox>
              <el-input v-model="pgForm.dynamic2_input5" placeholder="备注"></el-input>
            </el-checkbox-group>
          </div>
        </el-col>
      </el-row>
    </div>
  </div>
</template>

<script>
export default {
  name: "dynamic2",
  title: "动态评估",
  created() {
    if(this.istrans){
      this.pgForm=this.fromdata
    }
  },
  props: {
    fromdata:{},
    istrans:false,
  },
  data() {
    return {
      options: [{
        value: 'FN',
        label: 'FN'
      }, {
        value: 'DN',
        label: 'DN'
      }, {
        value: 'FP',
        label: 'FP'
      }, {
        value: 'DP',
        label: 'DP'
      }, {
        value: '/',
        label: '/'
      }],
      options1: [{
        value: '左',
        label: '左'
      }, {
        value: '右',
        label: '右'
      }, {
        value: '左和右',
        label: '左和右'
      }, {
        value: '/',
        label: '/'
      }],

      pgForm: {
        dynamic2_textarea: '',
        dynamic2_value1: '',
        dynamic2_value2: '',
        dynamic2_value31: '',
        dynamic2_value32: '',
        dynamic2_value33: '',
        dynamic2_value41: '',
        dynamic2_value42: '',
        dynamic2_value43: '',
        dynamic2_value51: '',
        dynamic2_value52: '',
        dynamic2_value53: '',
        dynamic2_value6: '',
        dynamic2_value7: '',
        dynamic2_value81: '',
        dynamic2_value82: '',
        dynamic2_value83: '',
        dynamic2_value84: '',
        dynamic2_value85: '',
        dynamic2_value86: '',
        dynamic2_value91: '',
        dynamic2_value92: '',
        dynamic2_value93: '',
        dynamic2_value94: '',
        dynamic2_value95: '',
        dynamic2_value10: '',
        dynamic2_input1: '',
        dynamic2_input2: '',
        dynamic2_input3: '',
        dynamic2_input4: '',
        dynamic2_input5: '',
        dynamic2_checkList1: [],
        dynamic2_checkList2: [],
        dynamic2_checkList3: [],
        dynamic2_checkList4: [],
        dynamic2_checkList5: [],
      }

    }
  }
}
</script>

<style scoped>
.el-row{
  margin: 10px 0;
  padding: 20px 20px;
  background-color: #f9f9f9;
  flex-wrap: wrap;
  flex-direction: row;

}
.el-col {
  margin:10px 0;
}
.el-checkbox-group{
  padding: 10px 20px;
}
.el-checkbox{
  display: block;
  margin-bottom: 15px;
}
.el-input {
  width: 50%;
}
</style>
